package com.ktjy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuqiaomiao
 * @since 2024-03-01
 */
@TableName("sys_right")
public class SysRight implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private String rightCode;

    private String rightParentCode;

    private String rightType;

    private String rightText;

    private String rightUrl;

    private String rightTip;

    @TableField(exist = false)
    private List<SysRight> childList;

    public List<SysRight> getChildList() {
        return childList;
    }

    public void setChildList(List<SysRight> childList) {
        this.childList = childList;
    }

    public String getRightCode() {
        return rightCode;
    }

    public void setRightCode(String rightCode) {
        this.rightCode = rightCode;
    }

    public String getRightParentCode() {
        return rightParentCode;
    }

    public void setRightParentCode(String rightParentCode) {
        this.rightParentCode = rightParentCode;
    }

    public String getRightType() {
        return rightType;
    }

    public void setRightType(String rightType) {
        this.rightType = rightType;
    }

    public String getRightText() {
        return rightText;
    }

    public void setRightText(String rightText) {
        this.rightText = rightText;
    }

    public String getRightUrl() {
        return rightUrl;
    }

    public void setRightUrl(String rightUrl) {
        this.rightUrl = rightUrl;
    }

    public String getRightTip() {
        return rightTip;
    }

    public void setRightTip(String rightTip) {
        this.rightTip = rightTip;
    }

//    @Override
//    public String toString() {
//        return "{" +
//        "rightCode = " + rightCode +
//        ", rightParentCode = " + rightParentCode +
//        ", rightType = " + rightType +
//        ", rightText = " + rightText +
//        ", rightUrl = " + rightUrl +
//        ", rightTip = " + rightTip +
//        "}";
//    }
}
